package com.hzw.saas.api.storage.bo;

import com.hzw.saas.common.config.bo.BaseBO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * 资源分享
 *
 * @author zzl
 * @since 07/01/2021
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel("资源分享信息")
public class ResourceShareBO extends BaseBO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "存储空间ID", position = 12)
    private String spaceId;

    /**
     * 分享名称
     */
    @ApiModelProperty(value = "分享名称", position = 13)
    private String shareName;

    /**
     * 分享密码
     */
    @ApiModelProperty(value = "分享密码", position = 14)
    private String password;

    /**
     * 过期时间
     */
    @ApiModelProperty(value = "过期时间", position = 15)
    private Date expireTime;

    /**
     * 分享链接
     */
    @ApiModelProperty(value = "分享链接", position = 16)
    private String shareLink;

    /**
     * 目录列表
     */
    @ApiModelProperty(value = "目录列表", position = 17)
    private List<ResourceFolderStructBO> folders;

    /**
     * 文件列表
     */
    @ApiModelProperty(value = "文件列表", position = 18)
    private List<ResourceFileBO> files;

}
